package com.gruppe1.inu.Model;

import java.util.ArrayList;
import java.util.List;




public enum NewGroup {
	INSTANCE;
	
private List<ListViewEntry> contacts;
	
 NewGroup(){
	contacts = new ArrayList<ListViewEntry>();
	}
	
	public void addContact(ListViewEntry Entry){
		contacts.add(Entry);
	}
	
	public void removeContact(ListViewEntry Entry){
		contacts.remove(Entry);
	}
	
	
	public List<ListViewEntry> getContacts(){
		return contacts;
	}
	
	public int getCount(){
		return contacts.size();
	}
}

